package uk.co.benbrown.jvis.model;

import java.util.Date;

public class Match {

    private String Id;
    private int number;
    private Team teamA;
    private Team teamB;
    private Phase phase;
    private Date date;
    private MatchResult result;
    private int spectators;
    private String city;
    private String hall;
    private Referee firstReferee;
    private Referee secondReferee;
    private Status status;

    public Match() {

    }

    public Match(Phase phase, String id, Team teamA, Team teamB, Status status) {
	this.Id = id;
	this.teamA = teamA;
	this.teamB = teamB;
	this.status = status;
	this.phase = phase;
    }

    public String getId() {
	return Id;
    }

    public void setId(String id) {
	Id = id;
    }

    public Phase getPhase() {
	return phase;
    }

    public void setPhase(Phase phase) {
	this.phase = phase;
    }

    public Status getStatus() {
	return status;
    }

    public void setStatus(Status status) {
	this.status = status;
    }

    public Team getTeamA() {
	return teamA;
    }

    public void setTeamA(Team teamA) {
	this.teamA = teamA;
    }

    public Team getTeamB() {
	return teamB;
    }

    public void setTeamB(Team teamB) {
	this.teamB = teamB;
    }

    public Phase getParent() {
	return this.phase;
    }

    public String getCity() {
	return city;
    }

    public void setCity(String city) {
	this.city = city;
    }

    public Date getDate() {
	return date;
    }

    public void setDate(Date date) {
	this.date = date;
    }

    public Referee getFirstReferee() {
	return firstReferee;
    }

    public void setFirstReferee(Referee firstReferee) {
	this.firstReferee = firstReferee;
    }

    public String getHall() {
	return hall;
    }

    public void setHall(String hall) {
	this.hall = hall;
    }

    public int getNumber() {
	return number;
    }

    public void setNumber(int number) {
	this.number = number;
    }

    public MatchResult getResult() {
	return result;
    }

    public void setResult(MatchResult result) {
	this.result = result;
    }

    public Referee getSecondReferee() {
	return secondReferee;
    }

    public void setSecondReferee(Referee secondReferee) {
	this.secondReferee = secondReferee;
    }

    public int getSpectators() {
	return spectators;
    }

    public void setSpectators(int spectators) {
	this.spectators = spectators;
    }

}
